home *** CD-ROM | disk | FTP | other *** search
- Short: Crossgcc FreeBSD 4.x to AmigaOS
- Author: nmo@iiriam.fr (Henri Michelon)
- Uploader: nmo@iiriam.fr (Henri Michelon)
- Version: 2.95.3-3 (-fbaserel and -fbaserel32 refixed)
- Type: dev/gcc
- Requires: FreeBSD 4.3 + 586 compatible CPU
- Date: 21.08.01
- Url: http://www.nmo-sdk.org/amigaos/crossgcc
- Filesize: 5279035
-
- I have compiled gcc as a cross compiler so one can compile amiga programs on a computer with
- FreeBSD. It is special usefull when one wants to port unix programs to amigaos.
-
- installation:
- untar the archive in the /root/ directory:
-
- for bash users:
- Add to (or create) ~/.bashrc
- export COPTFLAGS='-O3'
- export LDFLAGS='-s'
- PATH=/root/fsf/gg/bin:$PATH ; export PATH
-
- for csh users:
- Add to (or create) ~/.cshrc
- setenv COPTFLAGS -O3
- setenv LDFLAGS -s
- path=(/root/fsf/gg/bin $path)
-
-
- Copy your amigaos-includes to /root/fsf/gg/m68k-amigaos/sys-include
- They are copyright by Amiga and on the DeveloperCD and the FrozenFishCD.
-
-
- To cross-compile C programs type:
- m68k-amigaos-gcc [-O3] [-noixemul] [-resident] [-fbaserel[32]] -o HelloWorld HelloWorld.c -s
-
- To cross-compile a program with a configure script (bash):
- CC='m68k-amigaos-gcc' CFLAGS='[-O3] [-noixemul]' LFLAGS='[-noixemul] [-resident] [-fbaserel[32]]' ./configure
-
-
- compiled with:
- gcc v2.95.3 CFLAGS=-O3 -i586
- binutils v2.9.1 CFLAGS=-O9 -i586
-
- Note: only pth, pthread and termcap libraries are included.
-